﻿<UserControl x:Class="Notoric.View.Music.CWNotation.Controls.MusicSectionInterior"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:my="clr-namespace:Notoric.View.Music.CWNotation.Controls"
             MouseMove="UserControl_MouseMove"
             DataContextChanged="UserControl_DataContextChanged"
             my:RubberBandingCanvas.RubberBandDrawn="UserControl_RubberBandDrawn"
             MouseLeftButtonDown="UserControl_MouseLeftButtonDown"
             >
    <my:RubberBandingCanvas x:Name="MainCanvas" Background="{Binding Owner.Background, Mode=OneWay}">
        <my:CoreSymbolInserter DataContext="{Binding SymbolInserter, Mode=OneWay}"/>
        <ItemsControl ItemsSource="{Binding Path=Systems, Mode=OneWay}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <Canvas Background="Transparent"/>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
    </my:RubberBandingCanvas>
</UserControl>
